# -*- coding: utf-8 -*-
'''
Created on Oct 13, 2012

@author: iflamed
'''
from google.appengine.ext import db
class TaoItem(db.Model):
    '''
            淘宝商品记录信息
    '''
    click_url = db.StringProperty()
    title = db.StringProperty()
    price = db.StringProperty()
    nick = db.StringProperty()
    pic_url = db.StringProperty()
    shop_url = db.StringProperty()
    num_iid = db.IntegerProperty()
    wish_count = db.IntegerProperty()
    category = db.IntegerProperty()
    volume = db.IntegerProperty()
    relates = db.StringListProperty()
class DetailItem(db.Model):
    cid=db.IntegerProperty();
    title = db.StringProperty();
    remainnum = db.IntegerProperty();
    listtime = db.DateTimeProperty();
    price = db.StringProperty();
    iid = db.IntegerProperty();
        